package com.grablist.feihu.grablist.event;

/**
 * Created by chenjian on 16/9/8.
 */
public class NetErrorEvent {
    /**
     * 出错等级:0—无法连接,无需重试;1-尝试重连
     */
    int level;
    String track;//用来标记需要重连的方法

    public NetErrorEvent() {
    }

    public NetErrorEvent(int level, String track) {
        this.level = level;
        this.track = track;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getTrack() {
        return track;
    }

    public void setTrack(String track) {
        this.track = track;
    }
}
